import { SetMetadata } from '@nestjs/common';
import {PUBLIC_KEY} from '../contants/decorator.contant'


// 创建Public装饰器，用于标记不需要认证的路由
export const Public = () => SetMetadata(PUBLIC_KEY, true);
